package com.ruoyi.project.system.mapper;

import java.util.List;
import com.ruoyi.project.system.domain.TSingleselchoice;

/**
 * 单选选项Mapper接口
 * 
 * @author ruoyi
 * @date 2020-05-14
 */
public interface TSingleselchoiceMapper 
{
    /**
     * 查询单选选项
     * 
     * @param choiceId 单选选项ID
     * @return 单选选项
     */
    public TSingleselchoice selectTSingleselchoiceById(Integer choiceId);

    /**
     * 查询单选选项列表
     * 
     * @param tSingleselchoice 单选选项
     * @return 单选选项集合
     */
    public List<TSingleselchoice> selectTSingleselchoiceList(TSingleselchoice tSingleselchoice);

    /**
     * 新增单选选项
     * 
     * @param tSingleselchoice 单选选项
     * @return 结果
     */
    public int insertTSingleselchoice(TSingleselchoice tSingleselchoice);

    /**
     * 修改单选选项
     * 
     * @param tSingleselchoice 单选选项
     * @return 结果
     */
    public int updateTSingleselchoice(TSingleselchoice tSingleselchoice);

    /**
     * 删除单选选项
     * 
     * @param choiceId 单选选项ID
     * @return 结果
     */
    public int deleteTSingleselchoiceById(Integer choiceId);

    /**
     * 批量删除单选选项
     * 
     * @param choiceIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteTSingleselchoiceByIds(Integer[] choiceIds);
}
